<?php
class BookCourseLogDao {
	public $table = 'book_course_log';
	public function add($data){
		ClassManager::getSql()->insert($this->table, $data);
	}
	public function getListByBookCourseId($bookCourseId){
		return ClassManager::getSql()->datalist($this->table,'*',"where book_course_id='".intval($bookCourseId)."'");
	}
}

?>